class Bird {
  name: String
}

class Nest {
  fixed bird = new Bird {
    name = "Hawk"
  }
}

n: Nest = new {
  bird {
    name = "Eagle"
  }
}
